package com.appspot.mercadobgbr.client;

import com.appspot.mercadobgbr.shared.BoardGame;
import com.appspot.mercadobgbr.shared.Email;
import com.appspot.mercadobgbr.shared.Item;
import com.appspot.mercadobgbr.shared.Usuario;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface JogosApiAsync {
	void getLoginUrl(AsyncCallback<String> callBack);

	void persistJogo(Item item, AsyncCallback<String> callBack);

	void getUsuarioList(AsyncCallback<Usuario[]> asyncCallback);

	void getBoardGames(AsyncCallback<BoardGame[]> asyncCallback);

	void persistJogo(BoardGame boardGame, AsyncCallback<String> callBack);

	void getBoardGame(BoardGame potentialJogo, AsyncCallback<BoardGame[]> asyncCallback);

	void persistUsuario(Usuario usuario, AsyncCallback<String> asyncCallback);

	void getItemList(AsyncCallback<Item[]> asyncCallback);

	void enviarEmail(Email email, AsyncCallback<String> asyncCallback);

}
